package com.itfreer.power.service.user;

import java.io.IOException;

import com.itfreer.power.entity.user.UserAuthenticationEntity;

/**
 * 定义用户认证服务
 */
public interface UserAuthenticationService {

	/**
	 * 添加实体
	 * 
	 * @param entity
	 *            添加实体
	 * @return
	 * @throws IOException
	 */
	UserAuthenticationEntity add(UserAuthenticationEntity entity);

	/**
	 * 更新实体
	 * 
	 * @param entity
	 *            实体
	 * @return
	 * @throws IOException
	 */
	UserAuthenticationEntity update(UserAuthenticationEntity entity);
}